const Layout = () => import("@/layout/index.vue");

export default {
  path: "/template",
  name: "Template",
  component: Layout,
  redirect: "/template/table",
  meta: {
    icon: "ep/message-box",
    title: "常规模板",
    rank: 5
  },
  children: [
    {
      path: "/template/table",
      name: "TemplateTable",
      component: () => import("@/views/template/table/index.vue"),
      meta: {
        icon: "ri/table-line",
        title: "表格模板",
        showParent: true
      }
    },
    {
      path: "/template/setting",
      name: "TemplateSetting",
      component: () => import("@/views/template/setting/index.vue"),
      meta: {
        icon: "ri/table-line",
        title: "配置模板",
        showParent: true
      }
    }
  ]
} satisfies RouteConfigsTable;
